/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-08-04     Wangjiangbo       the first version
 */
/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2021-06-03     Wangjiangbo       the first version
 */
#ifndef __BSP_UART6_H__
#define __BSP_UART6_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#include <bsp/bsp.h>

#define _485_dir_pin GET_PIN(B,2)

extern int bsp_uart3_init(void);

extern bool bsp_uart3_tx_transmit(uint8_t* buff, uint16_t len);

extern int32_t bsp_uart3_rx_transmit(uint8_t* buff, int32_t wait);

#ifdef __cplusplus
}
#endif /* __cplusplus */


#endif /* BSP_BSP_UART3_H_ */

